<?php 
	require_once("CommonAction.php");
	class CompagnieAction extends CommonAction {
		private $champs;
		public function __construct() {
			parent::__construct();
		}
		
		public function execute() {
			parent::execute();
			if (strcmp($_SESSION["lang"], "fr")==0){
				$this->champs = Donnees::$compagnieFR;
			}
			else{
				$this->champs = Donnees::$compagnieEN;
			}
		}
		
		public function contenuCompagnie(){
			return parent::lireBD($this->champs,"PHP_COMPAGNIE");
		}
	}